package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RideOrderPaidThrough {
    unknown(0, "未知"),
    cash(1, "现金"),
    online(2, "线上支付"),
    wxapp(3, "微信"),
    wechat(4, "小程序"),
    alipay(5, "支付宝"),
    saving(6, "余额"),
    redpacket(7, "红包"),
    jybwxapp(8, "江阴农商行"),
    point(9, "积分"),
    mixed(10, "混合支付"),
    unionpay(11, "云闪付"),
    xionganpay(12, "雄安行支付");

    @EnumValue
    private final int code;
    private final String desc;

    RideOrderPaidThrough(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
